package team.knowers.tourist.service;

import com.baomidou.mybatisplus.extension.service.IService;
import team.knowers.tourist.dao.entity.NoticeDO;
import team.knowers.tourist.dto.req.BookingCreateReqDTO;

import java.util.List;

public interface NoticeService extends IService<NoticeDO> {
    List<NoticeDO> getNoticesPerPeople(int userId);
    //预定完，添加预定通知
    Boolean addNoticeWhenBooking(BookingCreateReqDTO req,int a);
    //支付完订单，添加支付通知
    Boolean addNoticeWhenPaying(int paymentId);
}
